
import http from './http'

const setAbout = async(value) => {
    return await http.fetchPost('/api/setting/setAbout', {value})
}
const getAbout = async(value) => {
    return await http.fetchGet('/api/setting/about')
}
const setHelp = async(value) => {
    return await http.fetchPost('/api/setting/setHelp', {value})
}
const getHelp = async(value) => {
    return await http.fetchGet('/api/setting/help')
}
const setLicense = async(value) => {
    return await http.fetchPost('/api/setting/setLicense', {value})
}
const getLicense = async(value) => {
    return await http.fetchGet('/api/setting/license')
}
export default {
    setAbout,
    getAbout,
    setHelp,
    getHelp,
    setLicense,
    getLicense,
}